<template>
  <div id="app">
    <router-view/>
    <!-- 增大底部的可视区域 -->
    <div style="width:100%;height:50px;"></div>
    <!-- bottom-nav 底部导航栏 -->
    <bottom-nav v-show="showNav"></bottom-nav>
  </div>
</template>

<script>
import BottomNav from "./components/BottomNav";
export default {
  name: "App",
  data() {
    return {
      showNav: false
    };
  },
  components: {
    "bottom-nav": BottomNav
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.header_title {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1000;
}
</style>
